{% extends 'auser/base.html' %}
{% block content %}
    {% if relogin %}
        <div class="alert alert-warning" style="display:block;float: right">
            <a href="#" class="close" data-dismiss="alert">
                &times;
            </a>
            <strong>请重新登陆！</strong>
        </div>
    {% endif %}
    <form action="{% url 'auser:login' %}" name="login-form" accept-charset="utf-8" id="login-form" class="login-form"
          method="post">
        <ul class="right-form">
            <h3>Login:</h3>
            <div>
                <li><input type="text" class="login-username" name="username" placeholder="Username" required/></li>
                <li><input type="password" class="login-password" name="password" placeholder="Password" required/></li>
                <h4>I forgot my Password!</h4>
                <input type="submit" class="login-submit" value="Login">
                <a class="not-account" href="{% url 'auser:register' %}">还没账号?<strong>去注册</strong></a>
            </div>
            <div class="clear"></div>
        </ul>
        <div class="clear"></div>
    </form>
{% endblock %}
